package org.sca.middle.cmpe.dto;

import java.io.Serializable;

/**
 * <p>Updated 3/6/2014: Fixed The serializable class Email does not declare a static final serialVersionUID field of type long</p>
 * @author rik
 * @author Kevin Carlen
 * @version 1.1
 */
public class Email implements Serializable {
    /**
	 * UID for {@link java.io.Serializable}
	 */
	private static final long serialVersionUID = 5204334554455507401L;
	private String emailAddress;
    private String type;

    public String getEmailAddress() {
        return emailAddress;
    }

    public void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

	@Override
	public String toString() {
		return type + ": " + emailAddress;
	}
}
